package cn.hdu.charge.domain;

import java.math.BigDecimal;

public class Record {

    private String recordId;
    private String deviceId;
    private User user;
    private int start;
    private int duration;
    private BigDecimal price;
    private int status;

    @Override
    public String toString() {
        return "Record{" +
                "recordId='" + recordId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", user=" + user +
                ", start=" + start +
                ", duration=" + duration +
                ", price=" + price +
                ", status=" + status +
                '}';
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
